Fix S3 upload on Windows

With jruby on Windows, the WAR file uploaded on S3 was corrupted due to the file not being opened in binary mode.