fix(template_cache_generator): Traverse partial files 

Closes #662