git_mkstemp_mode, xmkstemp_mode: variants of gitmkstemps with mode argument.