Emit chunks rather than lines. Fixes #11.