fixed a bug related to output LMP trimming statistics; result may be redirect to a directory by specify a slash-ending base name