fix file endline