pub fn validate_directory<P>(path: P) -> Result<(), ScribeError>where P: AsRef<Path>,
Validate that a path is a directory