Fix issue with downloaded torrent temp files on windows which had illegal characters.