Fix solr-instance script in templates for Solr 4, for Python 3.