Fix S3 bucket issue with names using dots

- resolves #1