Extracts the cause of UnpickleErrors.