Barrick Gold Corp got its act together just in time to ride a rally in the precious metal to the best performance among Canadian firms with US dollar bonds this year.