Fix source encoding declaration in html5 writer.