Fix incorrect template naming under windows.

In windows template names will now be rendered properly like 'example/route' rather than 'example\route'