Handle DOS line ends in XML files