Merge pull request #470 from adierking/win_io_tests

Port most remaining tests to Windows