Remove needless O_TRUNC flag

Because mkostemp() always create a new file.

Suggested by Jun Kuriyama. Thanks!!!