lfs: migrate to the fileprefetch callback mechanism

Authored by mharbison72.