Porting code for new IOUtils classes
Fixed incorrect byte order override