[cache] Fix writing to paths with unicode characters
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 18 Nov 2014 22:28:42 +0000 (23:28 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 18 Nov 2014 23:02:24 +0000 (00:02 +0100)
commit92120217eb27d820bfba0f6a50837f111cbf80ef
treecca45f0af01267f8c88c23331b6f43884750025b
parent37eddd314319d42f509307698196e4e9a8e84c7e
[cache] Fix writing to paths with unicode characters

* Use "compat_getenv"
* "write_json_file" now expects the filename to be a string
youtube_dl/YoutubeDL.py
youtube_dl/cache.py
youtube_dl/utils.py