mod - scope params in DataIOHDFS methods.
mod - write data to buffer before writing to hdfs.