chmod: update for latest Rust
Merge pull request #447 from Arcterus/fix

chmod: update for latest Rust