Fixed some template bugs.
Track the python, not the pyc.