Replaces usage of `StringBuffer` with `StringBuilder`

Closes #5605

Also fixes stray single quote in the same `PluginInfo#toString()` method.