Copies the source string's characters to the target string, escaping characters that need to be escaped to be a valid file name on Windows or OS X. @param sourceString The file name string to be escaped. @param targetString String object that receives the escaped file name string. @param unicodeAllowed Are Unicode substitutions for illegal characters allowed.