Update process-template.c

Skip tmp files (*~)