Ion damage to metal films inside an electron microscope