Escape HTML characters in stacktraces to prevent the layout and formatting from breaking.

If a stacktrace in a report contains a line like
```pytb
  File "<string>", line 1, in <lambda>
```
then the strings in angle brackets will be interpreted as HTML tags and break the formatting,

Escaping HTML characters in the stacktraces fixes the issue for me. A patch is attached.