use the correct window privacy context when downloading files