Fixing s3 publisher to work in windows