Hi,
You found a nice bug, it was hidden quite well. It would only happen when you try to overwrite an existing MDL file and the preserve guid option is on (which is the default value).
I have fixed the bug now, it will be in the next development release that should be online in about 15 minutes or so.