Fix ConsoleDataWriterSpec under Windows