rewrite ls_cmd by calling fs_open