[pynliner] Support Python3.x