Rebuild URI when __toString() is invoked