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`.