- handle invalid UTF-8 in file diff (bsc#907679)

I'm happy with the replacement character Ruby used in encode and don't want to have to provide my own.