Fix sitemap generator - truncate dir before generate (Improvement #358)