US wholesale retailer Costco saw its earnings grow in the third quarter, boosted by an increase in revenue from higher membership fees.