Use the tools.php class instead of fopen to retrieve urls

This is the same patch as in ticket PNM-1495 (http://forge.prestashop.com/browse/PNM-1495) it make gsitemaps use prestashop choice for downloading external urls.