`uri_escape`: Do not fail when nil is given.

Do just the same as the standard filter `url_encode`.