Download almost working with an overwrite check