Python3 Migration: tools/edid

Make tools/edit Python 2&3 compatible.

BUG=b:169724328
TEST=Conduct the following tests
python3 -m compileall -q .
python2 -m compileall -q .
python3 -m py_compile *.py
python2 -m py_compile *.py
Bluetooth AVL tests

Change-Id: I4f6f18decfcf728c9013a1a35793e81a355c8fbc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/chameleon/+/2497727
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Tested-by: Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Shyh-In Hwang <josephsih@chromium.org>
5 files changed