Use pillow instead of PIL; update versions of other pip packages