Returns the file extension, or an empty string if no extension is appropriate.
std::string DetectionInfo::extension() const