The All Blacks have overcome a rusty start and a first-half yellow card to pip France in Dave Rennie's first test in charge.