Bumped version to 0.8.1
Fixed tempfile open problem with encoding
Finished hotfix fix_tempfile.
Finished hotfix fix_tempfile.