Support python 3

Signed-off-by: Daniel Nephin <dnephin@gmail.com>