Correct urls for bucket names containing '.'

Fixes #12