Fix for Amazon S3 generate thumbs on upload