Fix file extensions