Add Streambuffer for hdfs snapshot