Fix build with rust master

This fixes the build of most tools with rust-master.

Still broken:
* ~~env~~
* du -  std::io::FileStat no longer contains path
* md5sum - rust-crypto currently broken