Wells Fargo Profit Rises 10% to Record as Lender Curbs Costs