fix tar command --overwrite when folder doesn't exist