[FileRepo] Use getHandler() is some places that should use it.

Change-Id: I1b4b9786217b819c739f04e8bcead5c5774671a0
Merge "[FileRepo] Use getHandler() is some places that should use it."