Veteran catcher Austin Barnes and the World Series champion Dodgers avoided salary arbitration by agreeing to a two-year deal.