Write src.cpp in unit test in binary mode so that line endings are stored as '\n' on Windows as well. Fixes test other.test_fs_stream_proto on Windows, where the test assert()s on the binary file size of the written src.cpp (Windows '\r\n' line endings would bloat the size slightly, causing test failure).