clone: better handle symlinked files at .git/objects/