[sr-dev] git:3.1: core: save and restore branch_iterator in print_dset