Fix filename handling on windows
Merge pull request #74 from Chronial/fix-win-path

Fix filename handling on windows