Fix logfile path on Windows