replace \n (linefeed) with \r\n (carriage return linefeed)