attempt to fix crash in BaroboFirmwareUpdate

https://github.com/Barobo/libbarobo/issues/5