Use single cython source for python2 and python3, just give 2 variables

I found that there is no need to separate into 2 files to support both python2 and python3.