Fix S3 to work with other regions.