Fix windows integ test

As far as I can tell, this is an issue with the test, not with the actual s3 functionality.

In order to fix this, we now encode the command using the stdout encoding before calling subprocess.Popen.

cc @danielgtaylor