use python difflib instead of subprocessed diff

I think this is more python-way.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>