[fix] don't mess up template in cache folder. Fixes #103