Get Traceback As String Python