Fixed a bug that made temporary audio files to be stored in the wrong directory.