How do you save an IterableDataset to disk?

It seems that it is necessary to convert it to a normal Dataset first.