Updated set_remote_metadata from s3's key to correctly pass along headers.