Do not use the llvm routine to check identity of files

as it fails in presence of symlinks.