py3: fix byte handling for event_log_tags

encode and decode where needed