Fixed missing file variable issue + added support for ejs templates

@johhnyhalife I've fixed the issue with file as we did with **grunt-rev-md5** project

I've also added support for **ejs** template by adding a new item to the map.