Update html5-writer for python3