Make newLineTransform an instance of PassThrough

Create a new PassThrough stream, then override its flush method.