misc: write out data as part of the gob stream