For those that actually know what they are talking about!!
The electrician talked about temperature for a reason. Generalization can get an electrician in trouble, the reason for my first sentence!
When you suggest replacing wire maybe you should look at prices. Below is a chart, if you can understand it! Please remember these wire size charts are for 86 degree temperature, not the over 100 recorded by the poster.
Just because the wire is sized right at 86 degrees, it is not a one size fits all. At temperatures in the hundreds your cable is undersized so you should plan to either calculate max power for the temperature, and use less power, or increase cable size...(not a popular option).
It may be interesting for sake of argument to check the prices and weight of the cable, before suggesting the latter.
My recommendation is reduce the power demand in high temperatures!
temcoindustrial.com