io: Fix close error handling There's no way to report error codes from closing an output buffer yet.