Removing dos-like line ends