Fix for multipart bug when using PUT to upload to S3