Replace `getproperty(::DirEntry,::Symbol)` method (#60518)
Instead of magic `dir.path` one can use the new `path(dir)` or, if
concerned with compatibility with both old and new Julia, one may use
`joinpath(dir)`.
Follow-up to #60506
I hope I caught all places accessing this. I am not sure if any packages
use this -- but then again, it *is* a purely internal implementation
details... but in any case, this means for sure that at the very least
this shouldn't be backported (unlike #60506)