More robust download creation.