Use ThreadLocal StringBuilder, no iterator on batch delivery.

Avoids allocation of `StringBuilder` when changing threads name.