How to arrange many thermal sensors in series?
A re-settable thermal fuse, such as this, could probably do what you're looking for. 

Wire them all in series and place one on each battery. If any battery gets above 50C the fuse will trip and the circuit will break past the fuse. These are usually available in many different temperatures to suit your needs.