Fix a bug with the `omit_path_prefix/1` option and external file tooltips in file diagrams