change windows \r\n to \n