delete tmp directory after generating the recording file