Fix  : write streams use "finish" not "end"