Added missing require('fs')
Merge pull request #291 from aexmachina/master

Added missing require('fs')