fix config_fetch so that doesn't just write the last buffer to disk/stdout #4018
===VersionHistory:None== bug never shipped