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.
Merge pull request #4707 from SplicePHP/patch-5

Fix double slash in path.