Update for upstream IO changes.

`FileInfo` is gone, `std::rt::io` has been graduated to `std::io` and
file interactions are done via `std::io::File`.

Also, update the example in the README.