First stab at python3 support