Writes the sitemaps to disk.