[PATCH 4/6] binman: Use bytearray instead of string