Preformat exception backtrace for better readability.