For centuries, people believed that bats possessed sinister powers.