Inherit from EventEmitter, deprecate onStart/onProgress/onCodecData
Deprecate callbacks in favor of 'end' and 'error' events
Update tests to evented API
Fix wrong mergeToFile callback chaining