This is going to sound strange, but I believe the fire sword was a practical effect, as opposed to CGI. If it were practical, then the sleeve was made from a flame retardant material. However, by pulling his hand up the sword, the sleeve "cupped" some of the vapors of whatever made the sword...