Make the tests run under Git Bash on Windows

Ironically enough, they were only failing because I tried to write
portable code in the first place.