respect THUMBNAIL_PRESERVE_EXTENSIONS

Easy Thumbnails' THUMBNAIL_PRESERVE_EXTENSIONS option was being ignored.
Merge pull request #280 from samastur/develop

respect THUMBNAIL_PRESERVE_EXTENSIONS