Merge pull request #1 from izb/master

async.done not being called if there are no input files.
versioning
Emit errors, fixes #2
Fail on errors, fixes #3
Fail on errors, fixes #3
Correctly handle empty output, fixes #4