Fixed issue #1908: "Export selection to.." fails to checkout files which names (or paths) renamed in working dir

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>