Properly set the content type of the gtkhtml stream