Fix a bug where compileTemplateFilesAndEmit inputDir parameter was not bound.

Fix a bug where compileTemplateFilesAndEmit inputDir parameter was not bound properly when doing a dynamic compilation causing a TypeError.

/node_modules/soynode/lib/soynode.js:256
    var filePaths = files.map(function (file) { return path.resolve(inputDir, 
                          ^
TypeError: Object #<EventEmitter> has no method 'map'
    at compileTemplateFilesAndEmit (/node_modules/soynode/lib/soynode.js:256:27)
    at StatWatcher.<anonymous> (/node_modules/soynode/lib/soynode.js:473:9)
    at StatWatcher.EventEmitter.emit (events.js:98:17)
    at StatWatcher._handle.onchange (fs.js:1104:10)