[downloader/common] Use `compat_str` with the error in `try_rename` (appeared in...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 4 Apr 2014 12:59:11 +0000 (14:59 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 4 Apr 2014 12:59:11 +0000 (14:59 +0200)
commite3ced9ed615f7aaeb2284a33dbdbc4e4b0b36833
tree2e60969f09d92a66cb2e160f50091d28c5fad913
parent5075d598bc61b199e4a1e7484c765c3cd0c27c40
[downloader/common] Use `compat_str` with the error in `try_rename` (appeared in #2389)

Otherwise on python 2.x we get `UnicodeDecodeError` because it may contain non ascii characters.
youtube_dl/downloader/common.py