Update extract.js

Ensure that end is called on extraction

There is an issue I encountered when extracting archives. Everything is actually done, but contrary to the examples the 'end' even is never emitted. And actually I don't see how it ever would be with out this, since 'end' is not an even of a stream.Writable (used to be?)