change libcore write log to write multiple chuinks in hex