gridfs: loss of the optional field `metadata`

A little lines of code to support the optional field `metadata`.
^.^