A Utility wrapper for fs.readdir