map() UTF32String to UTF32String, return UTF8String for all non-ASCIIString

fixes #7422
Merge branch 'master' of github.com:JuliaLang/julia