def encode_fs_path(path):
 return smart_str(path, HDFS_ENCODING, errors='strict')

def encode_fs_path ( path ) : return smart_str ( path , HDFS_ENCODING , errors = 'strict' )
encode_fs_path -> byte string in utf8 .