[IOS] Fix crash when thumb file is unreadable to ios system.
Merge pull request #2402 from ulion/fix_ios_thumb_crash

[IOS] Fix crash when thumb file is unreadable to ios system.