Fix Skyrim crash caused by log file.
Sometimes in games it fails when trying to open the log file for writing.
I now check for that.
Merge pull request #5 from CarlKenner/master

Fix Skyrim crash caused by log file.