Controlling ventilation for safe escape from coal mine fires