repalce \n to \r\n