is "a descent, door cracked open and out it goes" a thought that crosses ever your minds?
You can solve the problem by cooling the batteries, and containing the fire. Quick & Dirty solution is to turn off seat power elex, and immerse the battery in water - move an empty catering canister near the burning battery, fill with water (not ice) and move the battery into it with a fire blanket and fire gloves (and a short prayer - this process is not much fun due to the explosive nature of these fires). Move the canister to the galley and then add ice. Another good place for the battery (when cooler) is in an empty oven.