Fix vim erroring without temp file