Change fits2wav to use scipy.io.wavfile to write WAV files.