Corrected dos2unix bugs