Added escape chars for exception stack trace in TeamCity to avoid weird log output.