fix line ends in files