France beat South Africa 21-19 at the Stade de France to record their fourth win from five matches in the Nations Championship, strengthening their position at the top of the northern hemisphere standings.