Changed fallback to FTP and encoded the path in utf-8, in case of weird names