pil: fix download

Closes #20818.