Set metadata for S3 objects.