Porting changes related to 887174 to 39458 codebase
Porting changes related to 887174 to 39458 codebase - part 2
Porting changes related to 887174 to 39458 codebase - part 3, cleanup of unrelated logging changes
Temporart suffix for downloaded files is now randomly generated
Commented
Pep8
Instead of adding a common suffix to fetched files, a random temporary filename is used
Removed unused variable
Removed unused variable
Added a log message in case of present invaid files
The cache is no longer blindly trusted, files are validated also when retrieved from local cache
Wrong return statement removed.
Removed unwanted log setlevel command
pep8
Merge branch 'Bug_887174' into Bug_920485