Fix sysEx buffer generation