Saving a new .zig file appends .z (`foo.zig` -> `foo.zig.z`) on macOS 15

After upgrading to macOS 15, saving a new .zig file appends .z after the file extension when saving. This doesn’t happen when setting "files.simpleDialog.enable": true. This didn’t previously happen on macOS 14. I didn’t make other changes. File associations haven’t changed. This occurs in multiple workspaces.

here is a gif:

foo

One thing that’s notable is that this only happens when the format is supposed to be inferred by the file extension (by adding .zig at the end). If I explicitly click zig in the dropdown menu it does not occur. It does not occur for non-Zig files. It does occur on every file type if I click “No Extension” in the dropdown menu.

I experience the same with new .sql files created. I end up having file.sql.s