set encoding

Fixes the following runtime error:

$ ./perfcmp.py
  File "./perfcmp.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file ./perfcmp.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Hit with python 2.7.5.