ls_files.c: bugfix for --deleted and --modified