Speed up percent_encode.