Fix URIBuilder groovy example

The .with closure returns the last result, not the object