Rewrite only links to HTML files