Fixed a byte-order problem for batch-file processing on big-endian