Make sure that state.sls/state.highstate cache files are not read-only

This fixes an error that occurs on Windows minions where default
permissions are inherited and files are created initially as read-only.