Store tempory buffers in a sync.Pool to reduce the number of allocations.