Thanks to suggestions from Michael Kreyche & Bill Dueber, I have been able to solve the problem with using the "file" command on my usmarc to marcxml program.
It was the perl version. We were running on 5.8.7, which threw the error. Once we upgraded to 5.8.8, program ran just fine.