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