File perms exception handling

There are a number of cases wherein we throw exceptions to the console when we can't write to various cache files, etc. I hate exceptions. :]

Handle these by logging to the error level and bailing out when they're truly fatal for a given operation.
I did a dumb thing and exited in the state module without informing the user. Reverts that so we just log the error and continue. In my testing, the minion does the right thing and returns a state if it can.
Merge pull request #10208 from cachedout/permissions-exception-handling

File perms exception handling