Update hackface.py

Improve caching and add annotation (get .py from https://github.com/hugovk/pixel-tools/).