end each line with \r\n