Use extension cleaning in thumbnail download

Now that we have a method to clean up the extension,
let's use it during the thumbnail download.

Update unit tests to match the new names.