Use binary mode for cache files