Electrochemical Film Formation on Magnesium Metal in an Ionic Liquid That Dissolves Metal Triflate and Its Application to an Active Material with Anion Charge Carrier.