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