Fix example for BufferedReader

Fixes #18197
Could you add a `.unwrap()` here too?