Fix unset error output stream