Fixed MCEdit crashing when closing the Linux Filechooser Window.

Fixed MCEdit crashing when closing the Linux Filechooser Window without having chosen a file.