Don't overwrite file if no changes were made
Don't overwrite file if no changes were made

Always writing to the file, even if unchanged, updates the modified time
and prevents incremental builds in Xcode.

apple/swift-format,apple/swift-format,apple/swift-format