Avoid safeload in jpeg.