Create temp files properly when exporting to HTML too.

Forgot to do as part of 9dc62820485d9030b562f1fd4976dc8fc3026ccd.
Update wxWidgets.

In particular, fix uninitialize variables in wxFileDialog under OS X,
which was causing crashes under sandbox in some cases.