Buffering and appending to value files to limit the number of simultaneous open files