Issue #2249723 by andrei.dincu: Replace ->chunks,links with ->getChunks(),links() in xmlsitemap.generate.inc