Fix readByteArray in BinaryFileReadUtil.scala