A small library/function to convert an AudioBuffer to WAV data.