libhdfs go wrapper, modified from zyxar