Avoid appending a double ".erb" in templates

If the user gives a .erb extension to the template, don't add it
Merge pull request #54 from David-Gil/avoid-appending-two-erb-extensions-in-template

Avoid appending a double ".erb" in templates