Fix createWriteStream error emitting (send error to original stream object)