Wieferich's criterion and the abc-conjecture