Fixes rebasing input source map sources.

* It's been broken in case if a target file exists.