FIX S3 api change from s3.amazonaws.com/bucket to bucket.s3.amazonaws.co...

...m.

This might need a refactor later to be more flexible.