Update the window title according to the project file name (open/save/new).