Support for I/O buffer for compression and decompression

Huge compressed HDF files may cause memory errors