add support to not create new file if project file with no change

add from here: https://bugs.webkit.org/show_bug.cgi?id=113465