Fix file symlink extension bug.