pub fn check_output(spec: &IoSpec, path: &Path) -> Result<()>
Verify that an output file or directory exists and passes a minimal format check for its declared type.