Fix saving config on cygwin

It failed always on some installations