Workaround for certain files on platforms that use
EBCDIC encoding, when they are read through FileInputStream.
See commit message of rev.303915 for original details
http://svn.apache.org/viewvc?view=revision&revision=303915