change hashbang to /usr/bin/env python

The proper way? It at least fixes unit tests of the script when running in a virtualenv.