Issue #2249723 by andrei.dincu: Replace drupal_save_session() with Drupal::service()->save() in xmlsitemap.module