Correctly handle downloading of file for svn diffing