add url support for tarfile