Update pickup-transport.js

Once input stream ends output stream (FS write stream) still can be opened. So listen to output's 'finish' event instead on input's 'end' event.