fix thumbnails and preview in PIL in main elfinder