issue #523: keep newlines or set them globally to crlf or lf