Make _upload_part independant from S3 class