Fix the PIL import; don't get too upset if the file is not an image