Py3-ify pwb.py

Change-Id: I8627fdc14e075290537929ba5a5387bafddd5112
Merge "Py3-ify pwb.py"