cacheDir value was improperly handled under Windows