git_mkstemp(): be careful not to overflow the path buffer.