Added region support in S3 uploader