Expanding module8 code with Writer and write/append for HDFS example