Fix Sitemap generation for non-file urls.

Fixes getpelican/pelican-plugins#168.