Merge pull request #443 from ebfe/fix-build-master

Fix build with rust master
Fix deprecation warnings
Merge pull request #444 from ebfe/fix-deprecation

Fix deprecation warnings
os::errno returns uint now
du: fix build