Fix for cache directory creation on Android