This function brings database output files up-to-date by forcing any output annotations or samples that are buffered to be written to the output files.