set proper encoding for temporary file to improve support for languages which allow unicode symbol in source

Current version of emacs-quickrun works incorrectly for Haskell source file with unicode symbols such as `★` in my environment (encoding of source file is utf-8, but the default encoding for writing is chinese-gbk).

Tests shipped with emacs-quickrun have been run and get expected results.