made node-dir a core dependency