Enable Python 3 support

Change-Id: I6dd90114a291bbb91f87732abab1513d6132d400