tempo: cache intermediate files

This allows much faster debug cycles on the later portions of the
algorithm