handle encoding properly when outputting diff
return cdrdao version used