Fix #340 - Bug: Pillow validates file before the configured engine - fix attempt 1