trace: use strbuf for quote_crnl output