ported tools/*.py scripts to python3

Change-Id: Ib8dcc8b0c77515f8a302ed5bf03dc8283f36414b
3 files changed