Some string conversions in error reporting