make checkout-index '-a' flag saner.