move typedefs into xdrio and checkpointio