The IO buffers are now heap allocated.

This is a case of better safe than sorry. Depending how stdio sets BUFSIZ, we
might wind up asking for quite a lot of stack. Best to allocate that on the
heap.