Add writeBuf mechanism for output
Over and over and over, I was writing local functions that do what this thing does -- write data to the front of the window, and release it, extending when necessary.
This facilitates greatly the concept of writing data to an iopipe. Should only be used on iopipes that have a buffer that is processed after release, or where you are writing to a piece of memory (i.e. an array).