update file_size after write

There is a small fix for gridfs_file write, to update file_size after successful write.
Without this, it is not possible to call write more than once, because this.file_size is always 0.