Good luck with filing usable flats on a hardened CroMo axle doubling up as a bearing race. Also, a Torx key is about just as hard as the axle itself, no hammering will get it in there.
It is possible to induction harden small sections of material, so the fact that one small section used as a bearing surface is hard does not mean that it is all hard. I was lucky enough to have a tour of the Cummins turbocharger factory years ago, so I've seen turbocharger spindles induction heated, quenched, tempered and then ground to correct diameter in one continuous process, on one machine that does all those steps in a very short space of time. On a turbocharger, only two parts of the spindle get hardened, which are the bearing areas at either end. I also doubt that the bearing areas are hardened all the way through, the hardening is probably mainly in the surface, and does not extend through the entire thickness of the turbocharger spindle.
@emac1ennan the way to do this is by removing the pedal body, and then using a stud removal tool on the pedal spindle. It is a camming action, so it grips tighter and tighter on the pedal spindle the more force you apply. I hope you are not planning on reusing the pedals!
http://www.ebay.co.uk/itm/like/310500479481