Vim write will better preserve cursor position.