Handling of disconnect errors, and using posixpath for remote paths
Failed downloads are now retried