Create cache files with open permissions

This is so that processes that run as other users can overwrite the cache once it has expired