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

- The constructor of StreamSource with a file as parameter keep a lock on the file when there is an exception.
If the file is temporary, the temporary file is never delete at the end of the jvm, even if you call all methods to delete its.
So I replace the call of the StreamSource's constructor with a file by the constructor with a InputStream as parameter and close it, even there is an exception, to unlock the file.