Bugfix: Fix crash with sig abort when given bad filenames.