recordshell: Use mkstemp for saved URLs