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