BZ1067369 - Copy, Rename: File name validation broken
(cherry picked from commit 1dbd0276e99b79dce11ab3e7acbd99a60929a284)