Fix .log file generation on Windows
Merge pull request #58 from techtonik/winlogfix

Fix .log file generation on Windows