Python 3 compatibility

Use pytidylib6 instead of pytidylib to be able to support both Python 2 and 3.

Change-Id: Iaad55f5603496272a8aa9066e0b0fb1268038162