trace.py: Fix events name type
trace.py: Fix events name type

Events name must be ascii strings. Unicode strings will break trappy, so
encode them to ascii first.

ARM-software/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,credp/lisa,ARM-software/lisa,credp/lisa,credp/lisa