The new technology could dramatically improve the safety of drinking water around the globe, particularly in developing countries.