Dumper: replace control characters in exception message with spaces