Correct bug in FileSystemCacheFactory