Replace symlink with hardlink