The flags argument of lfp_mkostemp() must be an uint64_t