Make sure ResourceHandler and DefaultServlet paths are canonicalized