Set project document file path, so the project can be closed.
Only emit fileListChanged on RubyProject when the file list was really changed.