Buried deep within caves, bats—and especially their droppings—once held the key to some of the most notorious wars in American history.