ContentPipeline.Stainless.MDL: Bug fixing and tidy-up of MDLImport and MDLExport