Fix file name extensions