pub fn validate(path: &[u8]) -> Result<(), Error>
Validate an untrusted relative output path, including its original prefix.