'Override `ObjectStore`\'s stub by creating any files and folders on disk.'

def create(self, obj, **kwargs):

    if (not self.exists(obj, **kwargs)):
        path = self._construct_path(obj, **kwargs)
        dir_only = kwargs.get('dir_only', False)
        dir = (path if dir_only else os.path.dirname(path))
        safe_makedirs(dir)
        if (not dir_only):
            open(path, 'w').close()
            umask_fix_perms(path, self.config.umask, 438)
