pub fn check_extension(path: &str) -> Result<(), String>
Validate a file path inside the tarball for executable content.