overwrite existing files when downloading the same file multiple times, preserve permission during tar