Fixed circular dependency

Both bytestream and handlers needed the little-endian flag so it's
been moved to the utils namespace