DXF export files corrupted
# Description
When I plot a PCB to DXF format and then try to open that DXF in AutoCAD (full version 2023) I get an error in Autocad and it won't let me open the dxf. The the first line of the error varies but the second line is alwasy "Invaled or incomplete DXF input -- drawing discarded." and then you press enter to continue and the file closes.
In my most recent troubleshooting file I only drew a couple random lines on the User.Drawings layer and the first line of the autocad error is "Improper table entry name USER.DRAWINGS on line 204."
# Steps to reproduce
1. In PCB Editor, Plot to DXF format
2. Open Autocad and open exported DXF file
# KiCad Version
```
```
```
Application: KiCad PCB Editor x64 on x64
Version: 10.0.3, release build
Libraries:
wxWidgets 3.3.2
FreeType 2.13.3
HarfBuzz 12.3.0
FontConfig 2.17.1
Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Graphics, 4.6.0 - Build 32.0.101.8508
wxWidgets: 3.3.2 (wchar_t,STL containers)
Boost: 1.90.0
OCC: 7.9.2
Curl: 8.18.0
ngspice: 46
Compiler: Visual C++ 1944 without C++ ABI
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
```
issue