I've had to do that to make batteries stay connected in various devices; I've also made shims out of folded aluminum foil when battery contacts are just too far apart; and used a penny (with the edges coated) to shim a light socket where the end of the fixture made it impossible to screw the proper bulb in all the way. Good times :D