Now ensuring the metadata XML file is saved before the HDF5 file.

No longer allowing continuation of an existing session if the metadata XML is missing.