@Ittay: In a cartesian closed category of spaces, a product of identification maps is an identification map. Here is a typical proof essentially from Topology and Groupoids p. 192.
It suffices to prove that if $f:Y \to Z$ is an identification map, then so also is $f \times 1: Y \times X \to Z \times X$ for any $X$.
Let $g:Z \times X \to W$ be a function such that $l=g(f \times 1):Y \times X \to W$ is continuous. By cartesian closedness, we have associated maps
$ l': Y \to K(X,W), \quad g':Z \to K(X,W)$
where $K(X,W)$ is the internal hom, and $g'f=l'$. Since $l'$ is continuous, and $f$ is an identification map, then $g'$ is continuous. Hence $g$ is continuous.