bladeRF-cli: Added missing file open/close. Annotated lock ordering.