Fix logging on windows to log into separate files