Remove require fs in lib/index.js
Merge pull request #611 from poohlty/remove-require-fs

Remove require fs in lib/index.js