Write new `repomd.xml` to the proper location

Use File.join() to compose the path to the final repomd.xml file.
Previously when "+" was used the filename was **not** separated from
the base path, causing the creation of `/path/to/repo/repodatarepomd.xml`
instead of `/path/to/repo/repodata/repomd.xml`