Obviously if you have a mechanical flight control system you could shut off all electrical, depressurize, and head lower. Depressurizing at altitude with the electronics shut down might be enough to extinguish the fire. Hard to shut down the electronics, thought, if they ARE the flight control system.