1. Make the effect thread local. 2. Don't return a io::Result from hooks.
feature(file_buffered)
&Option<T>
Option<&T>