Use flex's -t option instead of --stdout