Prettify displaying of file paths for duchain items in quickopen.
Reuse ProjectController::prettyFileName, which is way better.