def _get_file_internal(self, *args, **kwargs):
        super(Key, self)._get_file_internal(*args, **kwargs)

        mimicdb.backend.sadd(tpl.bucket % self.bucket.name, self.name)
        mimicdb.backend.hmset(tpl.key % (self.bucket.name, self.name),
                            dict(size=self.size, md5=self.md5))
Called internally for any type of download. After download finishes,
dataset/ETHPy150Open nathancahill/mimicdb/mimicdb/s3/key.py/Key._get_file_internal