add trailing / to folders like sitemap_gen.py does