Avoid forcing creation of large strings; support chunked encoding.