range-diff: respect diff_option.file rather than assuming 'stdout'