The best way to avoid foreign transaction fees on credit cards is simply by using a card that doesn't charge such a fee.