collection of stdout in imagej macro processing