fix modman copy for tempaltes
fix copy file for template file