Replaced StringBuffer with StringBuilder in couple of local scopes.
Merge pull request #261 from arturmkrtchyan/master

Replaced StringBuffer with StringBuilder in couple of local scopes.