t0070: test that git_mkstemps correctly checks return value of open()