gridfs: Fix Document factory
gridfs: Normalization now creates and uploads thumbnail