this is the problem, do this IN the save routine (and load routine), so you don't get circular inputs (e.g. to_hdf in core/generic.py)