Skip overwrite of the destination file if the produced contents is the s...

...ame.

This avoids recompilation of the maven projects that use hydromatic-resource.