getPublicUrl takes bucket location into account. closes #17