I just discovered this:
https://github.com/HiassofT/AtariSIO
The "ataricom" program in the "tools" sub-directory is very useful for analysing and fixing up Atari executable files. Read README-tools file.
(also has a program to show a directory listing of a disk image and a program to create a disk image from the contents of a directory)