Fixed #36 - always use slashes in template paths.