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