Replace usages of StringBuffer with StringBuilder

Signed-off-by: Alex Coles <alex@alexbcoles.com>