Create file and schema if it does not exist yet.

def ensure_schema(self):
        """Create file and schema if it does not exist yet."""
        self._ensure_filename()
        if not os.path.isfile(self.filename):
            self.create_schema()