Reduce memory usage moving from StringBuilder to String