tools: make nodedownload.py Python 3 compatible
These changes make nodedownload.py compatible with both Python 2 and Python 3.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines