fix lineendings