Refactored to more efficient fs call for reading packages
Refactored to more efficient fs call for reading packages

- we don't need to do both a `fs.readdir` and a `fs.stat` because
  `fs.readdir` has the `withFileTypes` which returns the directory entry
  info and so this avoids an extra stat syscall

TryGhost/Ghost,TryGhost/Ghost,TryGhost/Ghost