Some FTP servers return full path from NLIST

Use `ftp_pwd` and `basename` to ensure the correct FTP path and file are retrieved.
Merge branch 'patch-1' of https://github.com/kabel/backup into kabel-patch-1