Reduced calls to FileDescriptor::isAscii()

FileDescriptor::isAscii() is now only called once, and the result is stored

Refs #7420