scanner: behavior when a symlink is encountered
let pid_of_file in swh.model.cli calculate the persistent identifier of the path if it's a symbolic link