Better ambiguity handling

Since we can’t search for files by name, and instead only by path, we
might get multiple results even if the file name is really unambiguous.
This case is handled better now, and if the filename really *is*
ambiguous, the two paths are now printed as well.