In binary mode, force encoding in native endian.