Add lineWriter.

Also, ignore EPIPE errors in writer.