Fix problem with S3 config.