Modify resource paths in html files