Fixed crash when trying to clear cache on devices with no sd-card
Merge pull request #186 from jpeitz/fix_cache_clearing

Fixed crash when trying to clear cache on devices with no sd-card