If $X$ is a topological space and $\sim$ is an equivalence relation on $X$, I want to show that $\tau: X \times I \to (X/{\sim}) \times I, \; (x,t) \mapsto (\pi(x),t)$ (where $I =[0,1]$ and $\pi: X \to X/{\sim}$ is the quotient map) is an identification. Obviously, $\tau$ is continuous. But how do I prove that $\tau^{-1}(U)$ is open iff $U$ is open? So far all of my attempts have failed since $\pi$ can't be assumed to be an open map.
Thanks for help in advance.