Added renderFile function
Stubbed out the calls to fs.writeFile() using sinon module
Merge pull request #285 from aexmachina/master

Added renderFile function