Fix wrong linefeed treatment