Fixed jade filename issue when using template.