Ref T5644. Caught one more of these: we run pygmentize even when we know the file won't be highlighted.
Checked that we don't try to shell out to highlight text files.
Actually maybe this is okay. So I was thinking that an install might want to define additional languages that they don't wish to highlight. But I guess in that case they can just map those file extensions to text.