Convert build_verify_metadata to python 3

Also update some python 3 issues in mkuserimg_mke2fs.

Bug: 203436762
Test: Presubmits
Change-Id: Ib919d40c96d3c26d29d8c1b4af67300c4130ec42
3 files changed