append the GridStore fileID to the stream’s extra parameter.  Making
sure the database is closed on reading a file.