Made it cope with symbolic links to files that don't exist.