Modfied PetriNetExporter to fit updated PluginAPI.