scripts: fix issue with dist files havig bad format