prefer 'finish' rather 'end' on writable stream

use the standard 'finish' event according to [this comment by isaacs](https://github.com/joyent/node/issues/6159#issuecomment-23618298).