exclude ext from the original file when naming thumbnails