fix utils.combinesigned and upperdir