Fix basename(1) usage.