While the combustion gases are hot, they contain much CO, some NOx and many more species. But once they have cooled enough to leave only CO2 without CO, N2 is the expected product.
Out of curiosity, I've asked a software the composition of the flame, at 1atm, with just enough pure oxygen for CO2 once cold. Here molar fractions:
CO 2.8109e-001
CO2 1.8832e-001
COOH 7.2469e-007
H 4.1505e-002
HCO 7.9666e-007
HNO 6.5391e-007
HNO2 7.9769e-008
HO2 4.4565e-005
H2 3.3417e-002
HCOOH 1.8394e-008
H2O 1.7123e-001
H2O2 1.2297e-006
N 4.7924e-006
NH 3.5205e-007
NH2 3.4576e-008
NO 7.4103e-003
NO2 2.9766e-006
N2 2.5629e-002
N2O 7.6986e-008
O 5.7822e-002
OH 7.7243e-002
O2 1.1627e-001
O3 7.1936e-008