change s3 resource url from path-style to domain-style to support EU buckets