write STATS graph output to HDFS