Replace StringBuffer with StringBuilder.

Replace StringBuffer with StringBuilder since synchronization is not 
needed.