Compat: re-write legacy files for io tests
#25238 introduced a kludge in test_pickle and test_msgpack to ignore the Panel objects when unpickling/unpacking files produced using older versions.  The right way to do this is to re-write those files without Panels in them to begin with.