[FLINK-1110] Fix HadoopInputFormat t work without prior serialization.