Avoid concatenating characters as strings in StringBuffer.append.