Save unicode strings to file

Fix for #1 'ascii' codec can't encode character...
Merge pull request #2 from rskvazh/master

Fix for #1