lavf/ftp: properly read an empty path