Update sitemap plugin to place nicely with modified metadata

modified is a string in pelican <= 3.3 and datetime > 3.3

Sitemap used to treat it as string.