Fix file extensions.