GridFS upload & fix bugs.