make fetch more robust against ftp()