Add python3 support for warlock.

Signed-off-by: Chuck Short <chuck.short@canonical.com>