force stdout flush after every file processed