Pilot avoids collision with a bird