Issue #2249723 by andrei.dincu: xmlsitemap_regenerate_batch_generate() make  object of XmlSitemapInterface