files: Avoid crash if `fileinfo` extension missing