Update gridfs.c

store buffers of gridfs by objectId