get_stat
extern status_t get_stat(Directory* directory, const char* path,
if (get_stat(packagesDirectory, packagePath.Get(), st) == B_OK