Fix file extension detection for thumbnail path