A few fixes for compatibility with rust-master

- std::str::CharIterator is now std::str::Chars
- std::io::buffered::BufferedWriter is now std::io::BufferedWriter
- std::from_utf8_owned returns Option<~str> now instead of simply ~str