gitweb: Fix handling of non-ASCII characters in inserted HTML files