And if we're doing this, may as well delay the import of PIL until `jpg` is set.