Fix fileman crash

In master as of 79f51dcac615f130de5e9e79af5dd49d58cdae1b there is a bug.  To reproduce, delete a file from a directory, then try to launch another.  The OS will crash.

This fixes that.