Don't reraise URI errors.

They don't need to be reraised as the URI is unlikely to become
valid at a later point.