Convert symlinks to hard links.