Windows log file

Changes logging to use a log file by default on Windows. Use `-logfile=""` or similar to restore old behavior.