restore trailing newline, fix no "close" event on node ~0.11.2

replacer works on data like so
1. split on newlines, save last fragment
2. join known full lines again and do string replace
3. on end, emit remaining fragment, before finishing (by enqueueing null)

Step 3 effectively ate the last newline, since there is no associated
`join(eol)` there, and just an empty string was enqueued.