Less memory hungry dump routine.