def save(self, filename, raw_contents, max_length=None):
        filename = self.get_available_name(filename, max_length)
        
        if not hasattr(self, 'mogile_class'):
            self.mogile_class = None

        # Write the file to mogile
        success = self.client.send_file(filename, BytesIO(raw_contents), self.mogile_class)
        if success:
            print("Wrote file to key %s, %s@%s" % (filename, self.domain, self.trackers[0]))
        else:
            print("FAILURE writing file %s" % (filename))

        return force_text(filename.replace('\\', '/'))
dataset/ETHPy150Open jschneier/django-storages/storages/backends/mogile.py/MogileFSStorage.save/original