I typically take a wire brush to mine - the variety with brass bristles so it will remove the rust and existing finish, but not harm the actual metal, and then I just repainted it.
It doesn't get that hot even after being on for a couple hours.
If you're concerned, you could get some paint like is used on an engine - those get much hotter than a transformer will ever get!