Add support for sparse entries in FileDB.
DO NOT MERGE.