Reduce usages of String::createUninitialized