ticket #541 use the same exit codes as (gnu) diff uses