fix persp-rename, change function for reading file name when save/restore perspectives