stream.write() with no args seems to waffle between passing undefined as first arg and only passing callback