def write(self, name, data):
        self._make_base_dirs()
        path = self.compute_path(name)
        with open(path, "wb") as file_:
            file_.write(data)
        self.logger.debug("Wrote file for: {}".format(name))
        return path
Gets a place's photo by reference.
dataset/ETHPy150Open jessemyers/cheddar/cheddar/index/storage.py/DistributionStorage.write--crossover with--dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py/_get_place_photo