hunspell: Fix tmpfile handling