Doctrine MongoDB ODM

More errors when persisting gridfs files