BZ1067369 - Copy, Rename: File name validation broken (cherry-picked from dce24d90a391cafc2f794eae3648d50e40a9b58a)