The presidents of France and the U.S. agreed to work together to resolve a spat between their two countries over Paris' digital services tax.