fix error using IO gems with file cache #386
fix error using IO gems