'Return the config file path creating basedir, if needed.'

@property
def path(self):

    path = self._get_path()
    try:
        os.makedirs(os.path.dirname(path), mode=448)
    except OSError as e:
        if (e.errno != errno.EEXIST):
            raise
    return path
