incompatability with rust-nightly fixed, changed std::rt::io --> std::io

Just changed a few import issues so it works with Rust 0.9-pre (nightly).