Now that I see a little more where this is being used (in the waveform method), we don't need to get the contents of the wav, we can manipulate files instead. So, we can create the tempfile right here, and pass the path to ffmpeg, and return the file handler, rewinded