tbx: Detect faulty tbi files