Issue #2223911 by Grimreaper, justanothermark, Shawn DeArmond | joachim: Fixed the 'menu_link' entity type added by xmlsitemap_menu_entity_info_alter() does not get a 'token type' value since it runs after token_entity_info_alter().
Issue #2220707 by coredumperror, devkinetic, s-robertson | danmurf: Removed filesize() check on generated file that causes unnecessary exception since the file might not actually be written to yet.