Fix for report logging on Windows when no log file is defined.