Set stdout to binary mode in -t msvc.

Fixes issue #575.