Fix return value of s3 function.
Not sure the best way to know that the multipart upload failed.