pub fn verify_writable(path: &Path) -> Result<(), PathError>
Verify a directory is writable by attempting to create a test file.