Fixed silly unlock bug in LocalFile

* Removed the lock instead of just purging some cache data

bug: 54978
Change-Id: Ida007c28e07b0fe1803ab8ed027bc2ec4f55af19
(cherry picked from commit 53b361e52cce69eab706bfec5f579063991fb3b9)