Remove code duplication from thumbnail and icon generation.
Remove code duplication from thumbnail and icon generation.

pbs/django-filer,pbs/django-filer,pbs/django-filer,pbs/django-filer,pbs/django-filer