Ion bombardment of polyimide films