Cast errors coming into strutils/indent as strings

Fixes #320