firmware: make sure the fw file size is not 0