[PATCH 13/18] fs: dedup file range to use a compare function