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

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