GridFS Adapter overwrites createFile to be able to keep metadata.