Avoid escaped newlines
Handle broken pipe more elegantly
Enable coverage