fix param encoding for get file tree api call