[WFCORE-178] :  ContentRepositoryImpl should not call File.deleteOnExit when deleting content.

Using the new Path API instead of File.
Cleaning empty old directories.