[PATCH v2] bpf: Add Python 3 support to selftests scripts for bpf