What is the flavor of the cosmic neutrinos seen by IceCube?