python3: Use six everywhere

Use six to improve compatibility between python2 and python3.

Change-Id: Idc0b251d05f418a28a914d910dabd4a2d9ebdf2a
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "python3: Use six everywhere"