ENH Better error messages for JPEG

Instead of a generic error, use jpeglib mechanisms to get error and
report it to Python.