- differentiate between "not a directory" and a real error while reading the path - don't clone the PathBuf, instead use Arc