Made ByteRange reading/writing