GadgetSnapshotFormat2: Added Format 2 header so that the length of the ID block can be determined even when an INFO block has been inserted in the usual HEAD,POS ,VEL ,ID sequence. Keep a dictionary of the file offsets