Do not generate file if there are no changes
Merge pull request #160 from c960657/empty-diff

Do not generate file if there are no changes