Fixed template naming issue that occured under windows.

I was experiencing a problem with compiled template names being incorrect. In windows template names will now be rendered properly like 'example/route' rather than 'example\route'.