File: 5.17_1 - File - determine file type

Fix LC_CTYPE-related issues with some magic entries
by using the C locale.

Remove MacPorts patches that don't seem necessary.