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