voice-synthesizer: simplify file buffer creation