Do not crash if we happen to come across a filename we can't decode

https://bugzilla.gnome.org/show_bug.cgi?id=725355