fix track full average file writing/reading