filebuf: use hashes not oids The filebuf functions should use hashes directly, not indirectly using the oid functions.