Use github-linguist for highlighting instead of reinventing the wheel