binary mode read and write MHB files