Expand checks to all OS

While testing the PR some more, I noticed that python3 on Linux did
not open in binary mode when we do no pass 'b'. Therefore it seemed
appropriate to expand this check to all OS, and not just windows.
1 file changed