ERB::Util.url_encode: fix usage of encoding-specific method

String#b is shorthand to return an ASCII-8BIT version of the string,
and doesn't exist in older rubies.