nicer console behaviour when download is finished

(On mac os x at least) When the script finishes, it overwrites the download progress, rather than jumping to a newline.
This makes the console output a little nicer.