When writing sav files with a large amount of columns (>100K columns, I personally tested with 150K) the names of the columns/variables get corrupted as reported in the original report. The issue can be reproduced reading and writing with pyreadstat.
It seems that at the column 110K there appear duplicated columns, but already at colum 10K the names look wrong.