fix hdfs writer bugs
Merge branch 'dev' of https://github.com/phoenix747/data-porter into dev