I don’t think extensions ever write that file; Firefox writes it whenever its in-memory set of installed extensions is updated.

When Firefox finds new extensions, it updates the in-memory set for each of them.

In the typical case that series of updates will be small, and the denounce makes it likely the file gets written only once.