replace symlinks with hard links