stage_write: save group name because adios internal pointer is freed in advance_step