URI-encode the path in our requests