fix getting the python current version

Since python --version output is a stderr not a stdin, the redirect is required.
Merge pull request #7 from shirou/patch-1

fix getting the python current version