Allow write() to fall back on the file the config was loaded from.