switching from fs.stat to fs.lstat to make directory read operations compatable with directories that have symlinks

why not use fs.linkSync(srcpath, dstpath) to avoid execSync dep?