tls_generic_test sanitisation.

(Pre-existing) Don't we have a RecursiveDeleteDirectory() that this code could be using ?