Deformation theory and the tame fundamental group