Changing from StringBuffer to StringBuilder.

If there is no thread-safe required, then StringBuilder is more efficient.