Fix converting quests to several versions in one go.

Different versions used the same script names, making require give the
wrong one if several versions are involved.