[build][fr] useless to use os.makedirs via a function