France made to work hard for Rugby World Cup win over Uruguay