Fix gs-pathname as Google Storage doesn't handle trailing slash