Bugfix to producers_producers_tracks.py

Now flushes the file output buffer of the .txt file that keeps a record
of users checked EVERY TIME it's written to. Otherwise, it's not a
reliable record and leads to crashes.