This is a very basic question about algebraic geometry which for some reason I am having trouble thinking about clearly.
Let $X,Y$ be irreducible varieties over an algebraically closed field $k$ (in case this is ambiguous, definition below). Let $f$ be a rational map from $X$ to $Y$ that is regular on an open subset $U\subset X$. If the fibers of $f$ are generically singletons, i.e. if there is an open subset $V\subset Y$ such that if $y\in V$, there is exactly one $x\in U$ with $f(x)=y$, does it follow that $f$ is birational? In other words, is the inverse map $g:V\rightarrow U$ defined by $g(y)=f^{-1}(y)$ necessarily a rational map?
My intuition says yes, but I'm having trouble thinking about how I know. Can you help me?
Thank you in advance.
Definition of variety I am working with: topological space equipped with a sheaf of functions to $k$ that is locally isomorphic as a locally ringed space to Zariski-closed subsets of affine space.
Addendum 11/1/13: It's pointed out in the comments that the Frobenius map gives a counterexample in characteristic $p$; but Cantlog asserts that the answer is positive in characteristic zero. What's the proof?