Update ScpDownload.rb

Wait for the scp download to finish before returning from the ScpDownload#download method to prevent race conditions.