change hadoopfs to tfs. fix a bug in delete.