Formula 2012 Spain: Williams Pit Fire

Formula 1 Spain grand prix ended up with a really bad incident. KERS system in Williams team car caught fire and in couple of seconds, it became massive. The whole Formula 1 team crews rush to fire to stop it. Hopefully, no one lost their life in this fire incident.
But, I was expecting Formula 1 organisation to have a better fire system. There should be fail safe systems to prevent this scenery.
I found some videos from YouTube from the incident.