Stop quote_phrase from modifying input string encoding

In the case where it acted to quote the input string, quote_phrase
shouldn't modify the encoding of the input string to be ASCII-8BIT, but
should leave the encoding as it found it.