Merge pull request #1156 from cdbennett/windows-binary-mode-output

Write subprocess output to stdout in binary mode