add a thrifthdfs python API and hdfs.py for shell