Replace wxFileExists() with File::Exists().

It did not handle unicode properly.