MDL-37967 Improve XML question import format handling of duplicated files