identifyFileFormat: track tool exit status