Added support for S3 thumbnails....

Saving the file in local tmp and then creating thumbnail for it there....