Minimal implementation of realpath(1) in Rust