[TIMOB-17052] Fixed filename bug when writing analytics events to disk.