Enable autowrite and autowriteall.