FROM ABOVE COMMENTS:
CF2016 didn't do named parameters. That started with CF2018. So you'd have to take out the names and pass something in the 3rd and 4th position. Normally you can just pass the normal default values. I'm not sure what those are for this tag in CF2016, but the F2018 doc http://cfdownload.adobe.com/pub/adobe/coldfusion/2018/publicBeta/NamedParametersColdFusion2018.pdf seems to indicate the defaults are both empty strings.
Try
CachePut(_attr.path,attr.qryPath,"","",variables.cacheRegion) ;
EXAMPLE:
https://cffiddle.org/app/file?filepath=a253f587-43fa-482f-b4cd-c7bbb8b45f3d/252b1e4b-d303-4a16-9d80-7c657e6e7770/7c0dc772-099c-4827-8e2f-068b2e32a4d8.cfm
<cfscript>
attr.Path = "_path" ;
attr.qryPath = "querypath" ;
variables.cacheRegion = "newCacheRegion" ;
CacheRegionNew(variables.cacheRegion);
//WriteDump(CacheGetProperties(variables.cacheRegion));
CachePut(attr.Path,attr.qryPath,"","",variables.cacheRegion);
writeDump(CacheGet(attr.Path,variables.cacheRegion));
</cfscript>