Patches for allow LF line termination as well as CRLF [sf#1097155] [#375]