Cast tempfile to unicode before passing to os.rename.
Merge branch 'master' of github.com:sbraden/pysis-scripts