Invert PIL import to avoid hash init problems