Fix UnicodeEncodeError - download history transition file.
Fix ValueError - in user details views.
Update transition.py
Merge pull request #336 from quamilek/hotfix/reports-develop

Fix errors with reports files - develop