use six to add python 3 support