Fix trailing slash problem for favicon.