fn display_path(path: impl AsRef<Path>) -> String
Convert a path into the display string used in the final report.
The conversion is lossy on purpose so the report stays printable even if a path contains non-UTF-8 bytes.