Correct stdout in dvipng_hack