Use Encoder/Decoder in RVD.persist (#3391)
Use Encoder/Decoder in RVD.persist (#3391)

* use codec in RVD persist

* fix

* fix

* formatting

* simplify

* resource manage the byte array streams

* clear the region

* closes and such

* add back some things

* use non compressing codec

cseed/hail,hail-is/hail,cseed/hail,hail-is/hail,danking/hail,cseed/hail,cseed/hail,hail-is/hail,danking/hail,hail-is/hail,hail-is/hail,danking/hail,hail-is/hail,hail-is/hail,danking/hail,cseed/hail,cseed/hail,danking/hail,danking/hail,cseed/hail,cseed/hail,danking/hail,danking/hail,hail-is/hail