fixing issue #9 where end event being called before finish writting to file
fixing issue #9 where end event being called before finish writting to file

andrewrk/node-s3-client,welll/node-s3-client,pillowsoft/node-s3-client,kacole2/node-s3-client,Amnacog/node-s3-client