Set proper mode so diff works again. Fixes bnc#900254.