Controlling Stray Electric Fields on an Atom Chip for Rydberg Experiments