Fix UnicodeDecodeError

If image name contains russian chars (тест.jpg) we get error UnicodeEncodeError at /redactor/upload/image/ 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

 actual for ver. 0.3.8