Un-revert "Fix failing doctest on systems w/o PIL" commit