Skip overwrite of the destination file if the produced contents is the same

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