Fail better if PIL fails (Issue #551)