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