Dow Survives Late Selling to Eke Out Third Weekly Gain