And I just remembered I ran into exactly the same problem on one of my hobbyist pages a couple of months ago, only with a completely different stack generating the file and a completely different program reading it.
No wonder I didn’t think of it at first.