Because reading memfile undo steps doesn't send the mesh through the versioning code that converts legacy layers back to the new generic format, we can't write the old format in undo steps. This same check existed during the mesh struct of array refactor.