The effect of surface heterogeneities in exploding metal foils