fpga manager: Fix firmware resource leak on error