Fixed S3 payload upload error on Windows