Allow remote MD5 checks to run via sudo

Allow the remote MD5 checks to run via sudo, so otherwise inaccessible destinations can be checked before needlessly transferring the file.