When saving the files in datadir, include an .xml extension