Spanish and French firefighters are battling wildfires in Aragon that have burned more than 17,000 hectares.