Switched from 'finish' to 'close' event on streamWriter when downloading dependencies

For some reason (didn't investigate) the "finish" event on writable is not fired and the archive content would never get unpacked.
Switched to "close" event on the WritableStream object returned by pipe to trigger archive extraction.