Use internal cache if getExternalCacheDir returns null

Change-Id: I560a06dc55ab1fab836fc71b4dcdfd02e1216a8b