prepare for multipart upload.