Convert vndk scripts to python3

python2 is obsolete now. Fortunately most of the codes are compatible
for python3, except for the check_output function.

Bug: 163435508
Test: run vndk/snapshot/update.py with build number
Change-Id: I0d3b463bffc97e35a21a40fdf57d5652a7bb6763
4 files changed