BS-9304 : [6.3] Temporary folder never get cleared

- Use deleteOnExit to delete temporary files
- Change conf of ClassLoaderService in Spring file to have access to the temporary folder on Windows.