Fix pathing bug for HTML output