[1.6.x] Replaced an instance of PIL with Pillow in the docs.

Backport of 563d6a6bba from stable/1.7.x
[1.6.x] Small doc changes missed in 66076268.

Partial backport of 253e8ac2 from master.