fix for issue20: support ssh:// and sftp://, etc