adjust cacheFile for xtemplate/nodejs