Use graceful-fs instead of fs to avoid EMFILE error

Otherwise you'll get EMFILE errors when reading large node_modules
folders.  This is the root cause of npm/npm#6506.