[tor-commits] [tor/master] Make write_escaped_data more robust to large inputs.