updated do_latex utility to remove files generated from a large compile.