Thanks for the diagnosis and the patch. I installed the attached instead, so as to decouple this part of the code from the part that turns file types into strings.