France made to sweat for win over Uruguay at Rugby World Cup