Update HABmin to use UTF8 when writing files