HPCC-12351 Use an internal buffer for small dynamic strings

Agreed.