oops: fix var leak in writable_streambuffer. Closes #4. Thanks @snowfix!