Move substituion logger from class method to controllers
Fix #1414 Add immediate thumbnail substitution after success download
Fix CS
Use temporary file system
Fix & enhance unit tests
Adressed @romainneutron 's comments
Merge pull request #562 from nlegoff/fix_1414

[3.8] Fix 1414 Add immediate thumbnail substitution after success download