Update TemplateTask.php

Just noticed that the pathes generates a double DS for the plugins.
Does not cause an error on my system but might cause issue on another os.