Getting a directory listing using the fs module in Node.js