output: Support some escaping.