SERVER-10390 direct console output to WriteConsoleW instead of std::cout under Windows