Set stdout to binary mode in -t msvc.

Fixes issue #575.
Merge pull request #576 from nico/newlines

Set stdout to binary mode in -t msvc.