Fixed template loading bug

Now using the theme file paths instead of URIs.