afc::stringToUTF16LE is changed to allow for better performance