Updated S3 PostObject to make customization easier.