MULE-7677 Mule fails to process all files when streaming="true"

use FileUtils.writeStringToFile