Output WAV files to disk. A WAV output cannot handle
context changes (for example, a change of sample rate),
so it is important that the upstream data is normalised.
The file being written to is finalised and closed when
the inbound context becomes empty.