No longer use file_obj in gridfs_flush.
Use update() to directly change the filename in gridfs_rename().