Merge pull request #40 from photex/master

A few fixes for compatibility with rust-master
Switch from rustpkg to rustc
Merge pull request #42 from jordyd/master

Switch from rustpkg to rustc
Address io::io_error removal on rust/mozilla:master
Merge pull request #43 from jcmoyer/rust-master

Address io::io_error removal