I think there's something wrong here - looks like the second argument should be inverted. Introduced in 8565.
CPath dstName = m_filename.Cleanup(true, PlatformSpecific::CanFSHandleSpecialChars(targetPath));
CPath CPath::Cleanup(bool keepSpaces, bool isFAT32) const
However this affects only characters "*<>?|\:
Woutermense, can you give an example?