New Zealand launched the Dave Rennie era and the Nations Championship with a thrilling 34-32 win over an understrength France.