html export generating a whole file with utf charset