recreate the MDS XML directory