fixed libhdfs interface for hadoop 1.0.4