<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def writefits(self, *args, **kwargs):
 """Write to file using default waveset."""

        old_wave = self.wave
        self.wave = self._wavetable

        try:
            super(UniformTransmission, self).writefits(*args, **kwargs)
        finally:
            self.wave = old_wave