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