Initialise bio-formats before calling createMinimalOMEXMLMetadata