Avoid writing out the temporary file if it's already there
If the file is already open, then this was causing us to trigger a reload prompt which we don't want.
Showing
想要评论请 注册 或 登录
If the file is already open, then this was causing us to trigger a reload prompt which we don't want.