Persist cursor position in edited files