Compatibility for older node versions where 'finish' is not emitted
Merge pull request #45 from robbles/master

Compatibility fix for older node versions