Issue #130: compatibility issue with GridFS.
Merge pull request #131 from olim7t/issue130

Issue #130: compatibility issue with GridFS.