Add more libhdfs functions.