Python Get Exception Message As String