Fix file endings