HPCC-12351 Use an internal buffer for small dyanamic strings