can write header info for wav files now.