Fix an issue where setting up extra HTTP headers for communication with S3 API would break File Transfers using S3 storage backend.