Use /usr/bin/env for Python shebang.

I've switched the #! lines to use `env` so that the correct Python version is selected on all Unix-y platforms. With the previous `/usr/bin/python` my system tried to run the script with Python 3.