Re-implementing unix in Rust