Fixed error handling in _filebuf().