Better poor-man's URL encoder.