Improving the writing to yo-rc file.