Fixup for r172828: use InternalScopedBuffer in favor of large stack buffers