added engine->disk function for writing output from an audio-engine run to disk