[ALOY-802] Fixed escaping of __controllerPath for template

Ticket: [https://jira.appcelerator.org/browse/ALOY-802](https://jira.appcelerator.org/browse/ALOY-802)