Fix NewGenerator stream so that Next will panic if passed nil.