refactor(dir) fs.lstat -> stat