Fix url_quote API

Apparently I strayed away from master for some reason.