filechooser: Fix a crash when removing files
filechooser: Fix a crash when removing files

The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.

The easiest way to reproduce it is to create a directory with two files
and deleting both of them.

Reported-by: Javier Jardón <d9e631309e5549cc595b71faddf6ad547c795ffa@gnome.org>

davidgumberg/gtk,jadahl/gtk,bratsche/gtk-,Adamovskiy/gtk,Lyude/gtk-,davidgumberg/gtk,grubersjoe/adwaita,ebassi/gtk,ebassi/gtk,ahodesuka/gtk,alexlarsson/gtk,ebassi/gtk,simokivimaki/gtk,ahodesuka/gtk,chergert/gtk,Adamovskiy/gtk,grubersjoe/adwaita,simokivimaki/gtk,simokivimaki/gtk,msteinert/gtk,davidgumberg/gtk,bratsche/gtk-,ebassi/gtk,davidt/gtk,jigpu/gtk,davidt/gtk,msteinert/gtk,jigpu/gtk,jessevdk/gtk,Adamovskiy/gtk,davidt/gtk,ahodesuka/gtk,alexlarsson/gtk,jessevdk/gtk,alexlarsson/gtk,Adamovskiy/gtk,jadahl/gtk,alexlarsson/gtk,grubersjoe/adwaita,jadahl/gtk,Distrotech/gtk2,jessevdk/gtk,jigpu/gtk,davidgumberg/gtk,msteinert/gtk,davidgumberg/gtk,alexlarsson/gtk,jadahl/gtk,Sidnioulz/SandboxGtk,alexlarsson/gtk,chergert/gtk,msteinert/gtk,chergert/gtk,Lyude/gtk-,jigpu/gtk,simokivimaki/gtk,bratsche/gtk-,jigpu/gtk,Adamovskiy/gtk,Distrotech/gtk2,simokivimaki/gtk,chergert/gtk,Distrotech/gtk2,ahodesuka/gtk,jadahl/gtk,jessevdk/gtk,Lyude/gtk-,jadahl/gtk,bratsche/gtk-,jessevdk/gtk,Adamovskiy/gtk,Lyude/gtk-,msteinert/gtk,davidgumberg/gtk,Distrotech/gtk2,ahodesuka/gtk,Distrotech/gtk2,Sidnioulz/SandboxGtk,grubersjoe/adwaita,Sidnioulz/SandboxGtk,chergert/gtk,alexlarsson/gtk,bratsche/gtk-,chergert/gtk,davidt/gtk,grubersjoe/adwaita,Lyude/gtk-,grubersjoe/adwaita,bratsche/gtk-,grubersjoe/adwaita,jessevdk/gtk,grubersjoe/adwaita,ebassi/gtk,ahodesuka/gtk,jessevdk/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,Lyude/gtk-,Lyude/gtk-,ebassi/gtk,jadahl/gtk,ahodesuka/gtk,davidgumberg/gtk,davidt/gtk,jigpu/gtk,jadahl/gtk,Lyude/gtk-,msteinert/gtk,chergert/gtk,jigpu/gtk,Adamovskiy/gtk,Sidnioulz/SandboxGtk,chergert/gtk,davidt/gtk,Distrotech/gtk2,davidgumberg/gtk,Sidnioulz/SandboxGtk,alexlarsson/gtk,ahodesuka/gtk,jigpu/gtk,simokivimaki/gtk