Fix python shebang

Replaces /usr/bin/python with /usr/bin/env python so it will look for python in $PATH.
Replaces python with python2, because there are modern systems which has python symlinked to python3 (e.g. ArchLinux).