Poland’s Katarzyna Niewiadoma-Phinney has become the race leader of the Tour de France women's race after winning stage 7 on Friday.