do not print newline on empty diff
urlopen from vcstools
Better error messages, tells user whether uri was interpreted as file or as uri.