Set document/window title when filePath changed