site/modules: fix generation of feeds.conf

With the previous patch, the second line writing to feeds.conf overwrote it, thus making the first line a noop.

This fixes it by first cleaning the file and then appending two times (or only one if there are note site/modules).