Fix auto-save-timeout for windows