Fix dos file format