bugfix: writestream hanging on elements with large contents

Fixes substack/html-select#8
resume instead of ondata
2.3.14