Don't care about multiple spaces in yara add
Rename ret to modified_template, and add free call