Factor out quoteUnescape.