ProjectHelpers: Don't add existing files to project (#662)

* Don't add existing files to project (fixes #662).
* Simplify `AddFileToProject()` method logic.