A dinosaur from China had a “bandit mask” pattern in the feather on its faces, fossil analysis has shown.