text-freetype2: Localize text file path filter
text-freetype2: Fix GCC fread warnings

GCC marks fread as a function that will throw a warning if you do not
use its return value.  This is most likely done as a measure to ensure
code security.
text-freetype2:  Check for 2 bytes instead of 1