[FLINK-1139] Fixed HadoopOutputFormat to run with DOP > 1

This closes #173