Fix connection issues with new S3 regions

Fixes #39