datafile index no longer stores codec, adding variables and variable groups to datafile/streams: see self.variables and self.variable_groups