Replace fs module with graceful-fs

to avoid `EMFILE, too many open files` error
Merge pull request #46 from p3drosola/graceful-fs

Replace fs module with graceful-fs