wav: Make use of the standard audio.Encoder interface.