Fix errno assignment in fiob_close().