Added a new dumping feature.

Dumping allows you to dump the playing audio to a wav file.