Make log request work on Windows.