Replacing symbolic links with hard links