make sure open(..., O_TRUNC) works right.